home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
varia
/
interp18.lha
/
interp-1.8
/
String.defs.h
< prev
next >
Wrap
C/C++ Source or Header
|
1990-01-20
|
1KB
|
31 lines
// -*- C++ -*- String.def.h -- the declarations for the symbol table classes.
// Copyright (C) 1989 Carey Richard Murphey.
// (rich@rice.edu) 5310 Rutherglenn, Houston, TX 77096
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 1, or (at your option)
// any later version.
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#ifndef _String_defs_h_
#pragma once
#define _String_defs_h_ 1
#include <String.h>
#include "Symbol.h"
#define DEFAULT_INITIAL_CAPACITY 128
#define StringEQ(a,b) ((a)==(b))
#define StringHASH(key) hashpjw(key);
#define StringCMP(a,b) compare(a,b)
#endif